package com.intelligent.ispc.client.utils.chart;

import org.jfree.chart.axis.NumberAxis;
import org.jfree.data.Range;

/**
 * Created by Can.Guan on 2016/7/13.
 */
public class FixedNumberAxis extends NumberAxis {
    private Range r;

    public FixedNumberAxis() {
        super();
    }

    public FixedNumberAxis(String label) {
        super(label);
    }

    public Range getR() {
        return r;
    }

    public void setR(Range r) {
        this.r = r;
    }

    @Override
    protected void autoAdjustRange() {
        setRange(r);
    }
}
